package com.qidian.mes.pojo;

import java.util.Date;


public class CalTeamType {//班组类型表
    private Long teamTypeId;
    private String teamTypeName;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    private Long createTimeMillis;
    private Long modifyTimeMillis;


    public CalTeamType() {
    }

    public CalTeamType(Long teamTypeId, String teamTypeName, String createBy, Date createTime, String updateBy, Date updateTime, Long createTimeMillis, Long modifyTimeMillis) {
        this.teamTypeId = teamTypeId;
        this.teamTypeName = teamTypeName;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.createTimeMillis = createTimeMillis;
        this.modifyTimeMillis = modifyTimeMillis;
    }

    /**
     * 获取
     * @return teamTypeId
     */
    public Long getTeamTypeId() {
        return teamTypeId;
    }

    /**
     * 设置
     * @param teamTypeId
     */
    public void setTeamTypeId(Long teamTypeId) {
        this.teamTypeId = teamTypeId;
    }

    /**
     * 获取
     * @return teamTypeName
     */
    public String getTeamTypeName() {
        return teamTypeName;
    }

    /**
     * 设置
     * @param teamTypeName
     */
    public void setTeamTypeName(String teamTypeName) {
        this.teamTypeName = teamTypeName;
    }

    /**
     * 获取
     * @return createBy
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 设置
     * @param createBy
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateBy
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 设置
     * @param updateBy
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 获取
     * @return updateTime
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return createTimeMillis
     */
    public Long getCreateTimeMillis() {
        if(this.createTime != null) {
            return this.createTime.getTime();
        }
        return null;
    }

    /**
     * 设置
     * @param createTimeMillis
     */
    public void setCreateTimeMillis(Long createTimeMillis) {
        this.createTimeMillis = createTimeMillis;
    }

    /**
     * 获取
     * @return modifyTimeMillis
     */
    public Long getModifyTimeMillis() {
        if(this.updateTime != null) {
            return this.updateTime.getTime();
        }
        return null;
    }

    /**
     * 设置
     * @param modifyTimeMillis
     */
    public void setModifyTimeMillis(Long modifyTimeMillis) {
        this.modifyTimeMillis = modifyTimeMillis;
    }

    public String toString() {
        return "CalTeamType{teamTypeId = " + teamTypeId + ", teamTypeName = " + teamTypeName + ", createBy = " + createBy + ", createTime = " + createTime + ", updateBy = " + updateBy + ", updateTime = " + updateTime + ", createTimeMillis = " + createTimeMillis + ", modifyTimeMillis = " + modifyTimeMillis + "}";
    }
}
